<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="/css/main/table.css"/>
<link rel="stylesheet" href="/css/main/page.css"/>
<link rel="stylesheet" href="/css/common/list.css"/>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-2.1.1.js"></script>
<script type="text/javascript" src="${ctx}/js/page.js"></script>
<script type="text/javascript" src="${ctx}/js/photo.js"></script>

<body>
<div class="list-group">
    <table  id="dynamic-table" class="table table-stripe" role="grid"
            aria-describedby="dynamic-table_info">
        <thead>
        <tr class="tableHead" style=" background: #CDD9D9;" >
            <th width="400px" tabindex="0" rowspan="1" colspan="1">名称</th>
            <th width="300px" tabindex="0" rowspan="1" colspan="2">操作</th>
        </tr>
        </thead>
        <tbody>
        <#list taskArrayList as taskList>
        <tr role="row" class="odd">
            <td><b>${taskList.caption!""}</b></td>
            <#--<td><b>1</b></td>-->
            <td><a class="dropdown-toggle" href="javascript:checkPath('${ctx}',${projectId},'${taskList.id!""}',1)">检查单下载</a></td>
            <td><#if taskList.closeDo ><a class="dropdown-toggle" href="javascript:checkPath('${ctx}',${projectId},'${taskList.id!""}',0)">整改单下载</a></#if></td>
        </tr>
        </#list>
        </tbody>
    </table>
    <div class="row">
        <div class="page-info" id="table_info" >
        <#--第${nowBegin}-${nowEnd}条，共${count}条-->
        </div>
    </div>
</div>
</body>
<script type="text/javascript">
    <#--new page({pageMain:"pagination",nowPage:${page!'1'},count:${count},pageSize:${pageSize!'10'},-->
    <#--url:"/admin/user",params:"?pageSize=${pageSize}&query=${query}",pakey:"page"});-->

    new  tablePage(${page} ,${pageSize},${count?c} ,"${ctx}/homepage/getphotoListDetails?",getParams());

    function getParams() {
        var projectId = ${projectId};
        return "projectId=" +projectId;
    }
    function lookDetails(id) {
        window.open("${ctx}/homepage/getphotoListDetails?projectId="+id);
    }
</script>
</html>
